"use strict";
cc._RF.push(module, '2a3373zITJHW7F7dJYjxDOS', 'menu');
// script/menu.js

'use strict';

cc.Class({
				extends: cc.Component,

				properties: {},

				onLoad: function onLoad() {},
				btnClick: function btnClick(event, customData) {
								switch (customData) {
												case 'close':
																this.node.active = false;
																break;
												case 'looktips':
																cc.director.emit('ongame', 'looktips');
																this.node.active = false;
																break;
												case 'restart':
																cc.director.emit('ongame', 'restart');
																this.node.active = false;
																break;
												case 'endcurrent':
																cc.director.emit('ongame', 'endcurrent');
																this.node.active = false;
																break;
												default:
																break;
								}
				}
}

// update (dt) {},
);

cc._RF.pop();